package com.stlm2.dems.dao;

import com.stlm2.dems.entity.GoodsRelateCategory;
import com.stlm2.core.base.BaseDao;

import java.util.List;

public interface GoodsRelateCategoryDao extends BaseDao<GoodsRelateCategory> {

    public List<GoodsRelateCategory> getByGoodsId(Integer goodsId);

    public GoodsRelateCategory getByGoodsCategoryId(Integer goodsCategoryId);

    public List<GoodsRelateCategory> getByGoodsIdAndLevel(Integer goodsId,Integer goodsCategoryLevelValue);

    public GoodsRelateCategory getByGoodsIdAndCategory(Integer goodsId,Integer goodsCategoryId);

    public List<GoodsRelateCategory> getByCategoryIdAndGoodsId(Integer goodsCategoryId,Integer goodsId);

}